<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>日历 组件</title>
    <link rel="stylesheet" href="./index.css" />
  </head>
  <body>
    <div class="calendar-container">
      <div class="calendar-title">
        <span class="calendar-title__left">2019年xx月</span>
        <span class="calendar-title__right">
          <span class="calendar-title__right-up" onclick='preMonth()'>↑</span>
          <span class="calendar-title__right-down" onclick='nextMonth()'>↓</span>
        </span>
      </div>
      <div class="calendar-header">
        <span class="calendar-header__item">日</span>
        <span class="calendar-header__item">一</span>
        <span class="calendar-header__item">二</span>
        <span class="calendar-header__item">三</span>
        <span class="calendar-header__item">四</span>
        <span class="calendar-header__item">五</span>
        <span class="calendar-header__item">六</span>
      </div>
      <div class="calendar-content"></div>
    </div>

    <script src="./index.js"></script>
  </body>
</html>
